<div id='body'>
					
	<div id='main-body' >
		<p class='breascum'><h5><a href="<?=$this->baseUrl()?>">Trang chủ</a> / <a href="<?=$this->baseUrl()?>/project/index/type/1">Dự án</a> / <a href="<?=$this->baseUrl()?>/project/index/type/<?=$this->serviceType->id?>"><?=$this->serviceType->name_vn?></a></h5></p>
		<p> <h3><?=$this->serviceType->name_vn?></h3></p>
		<p>
		<ul>
        <?php
            $i = 1;
            foreach($this->listProjects as $project)
            {
                $class = "";
                if(($i%3) == 1):
                    $class = "class='first'";
                ?>
                <li>
				    <ul class='duan-row'>
                <?php
                endif;
                ?>
                    <li <?=$class?>>
						<div class='duan-block'>
							<a href='<?=$this->baseUrl?>/project/detail/id/<?=$project['id']?>'><div style='background: url(<?=$this->baseUrl?>/public/media/images/item-applestore.jpg) top left no-repeat;'><img width="171" height="171" src='<?=$this->baseUrl?>/public/uploads/<?=$project['image']?>' alt='frame'/></div></a>
							<span class='duan-project-name'><a href='<?=$this->baseUrl?>/project/detail/id/<?=$project['id']?>'><?=$project['name_vn']?></a></span><br/>
							<span class='duan-project-caption'><?=$project['description_vn']?></span>
						</div>
					</li>
                <?php
                if(($i%3)==0):
                ?>
                    </ul>
                </li>
                <li style='clear: both; display: block; height: 4em;'></li>
                <?php
                endif;
            }
        ?>
		</ul>
			
		
		
		</p>
		<br/><br/>
		
		<br/><br/><br/><br/>
	</div>
	<div id='sidebar'>
		<div id='sidebar-submenu' class='sidebar-block'>
			<div id='sidebar-submenu-top'>
			</div>
			<div id='sidebar-submenu-content'>
				<ul>
                <?php
                    foreach($this->serviceTypeList as $itemServiceType) 
                    {
                        if($itemServiceType->id == $this->serviceTypeId)
                            $class = "class='sidebar-submenu-current'";
                        else
                            $class = "";
                        
                        if($itemServiceType->parent_id == 0):
                            ?>
                            <li <?=$class?>><a href='<?=$this->baseUrl()?>/project/index/type/<?=$itemServiceType->id?>'><?=$itemServiceType->name_vn?></a></li>
                            <?php
                        endif;
                    }
                ?>
				</ul>
			</div>
			<div id='sidebar-submenu-bottom'>
			</div>
		</div>
		<br/>
	</div>
</div>